package com.fourth.service;

import com.ljx.entity.BusinessInfo;
import com.ljx.entity.Stock;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author Mr.ma
 * @since 2023/3/9 10:44
 **/
public interface UbBusinessInfoService {

    /**
     * 根据商品id查询商户信息
     * @param bid
     * @return
     */
    BusinessInfo selectByBid(String bid);

    /**
     * 交易成功后增加店铺成交额
     * @param bid
     * @param payMoney
     * @return
     */
    int changeMoney(String bid, BigDecimal payMoney);
}
